import request from '@/utils/request'

// 查询压力合格率统计结果列表
export function listDispatchPressureQualifiedRateStatistics(query) {
  return request({
    url: '/system/dispatchPressureQualifiedRateStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询压力合格率统计结果详细
export function getDispatchPressureQualifiedRateStatistics(pressureQualifiedRateStatisticsId) {
  return request({
    url: '/system/dispatchPressureQualifiedRateStatistics/' + pressureQualifiedRateStatisticsId,
    method: 'get'
  })
}

// 新增压力合格率统计结果
export function addDispatchPressureQualifiedRateStatistics(data) {
  return request({
    url: '/system/dispatchPressureQualifiedRateStatistics',
    method: 'post',
    data: data
  })
}

// 修改压力合格率统计结果
export function updateDispatchPressureQualifiedRateStatistics(data) {
  return request({
    url: '/system/dispatchPressureQualifiedRateStatistics',
    method: 'put',
    data: data
  })
}

// 删除压力合格率统计结果
export function delDispatchPressureQualifiedRateStatistics(pressureQualifiedRateStatisticsId) {
  return request({
    url: '/system/dispatchPressureQualifiedRateStatistics/' + pressureQualifiedRateStatisticsId,
    method: 'delete'
  })
}
